package com.iraeta.dao;

import com.iraeta.entity.Caizhi;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CaizhiDao {
    int insert(Caizhi record);
    int updateByPrimaryKey(Caizhi record);
    int deleteByPrimaryKey(Integer id);
    Caizhi selectByPrimaryKey(Integer id);
    List<Caizhi> selectAll();
    List<Caizhi> selectByName(@Param("name") String name);
    List<Caizhi> selectByCdefine2(@Param("cdefine2") String cdefine2);
}